package com.per.mybootall.jdk8Stream.Function;

import org.apache.commons.math3.util.MathArrays;

import java.util.function.Function;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: yyy
 * Date: 2022/2/22
 * Time: 15:16
 * Description:
 */
public class UseFunction01 {
  public Integer multiplicationFun(Integer value,Function<Integer,Integer> num){
   Integer res= num.apply(value);
    return res;
  }
}
